PdfSaveOptionsRegisterFont(String, Boolean, Boolean, Byte) Method

Registers font data for one family and style, for callers that hold the font in memory.

Definition

Namespace: Independentsoft.Office.Pdf
Assembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
C#
public void RegisterFont(
	string fontFamily,
	bool bold,
	bool italic,
	byte[] fontData
)

Parameters

fontFamily  String
The family name as the document refers to it, for example "Arial".
bold  Boolean
True for the bold face.
italic  Boolean
True for the italic face.
fontData  Byte
The contents of a .ttf or .ttc file.

See Also